package day10.one01;

public class manager extends workers{

    private int esal;
    public int getEsal() {
        return esal;
    }

    public void setEsal(int esal) {
        this.esal = esal;
    }
    public void work(){
        System.out.println(getName()+"\ncno:"+getCno()+"\nsal:"+getSal()+"\nesal:"+esal);
    }
}
